package com.item;

import com.item.configration.CorsConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

@SpringBootApplication//启动类只能扫描启动类所在包和子包
@Import(CorsConfig.class)//处理跨域请求
public class SpringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootApplication.class, args);
    }
//springboot启动源头
}
